package com.caishi.lkx.common.config;

import org.apache.rocketmq.spring.core.RocketMQTemplate;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MockRocketMQConfig {

    @Bean
    public RocketMQTemplate rocketMQTemplate() {
        return new RocketMQTemplate() {
            // 可以自定义覆盖具体的方法，使其返回空值或者不做任何操作
        };
    }
}